package com.lonewalker.sparrow.service;

import com.lonewalker.sparrow.domain.ApiResult;
import com.lonewalker.sparrow.vo.FileVo;
import org.springframework.web.multipart.MultipartFile;

/**
 * @author Wang Yu
 * @version 4.0
 */
public interface FileService {

    /**
     * 文件上传本地
     * @param file 文件数据
     * @return 文件信息
     */
    ApiResult<FileVo> uploadLocal(MultipartFile file);
}
